package com.aspose.cells;

class zbje extends zcj {
   zbje(zn var1, float var2, float var3, zbkq var4) {
      super(var1, var2, var3, var4);
   }

   com.aspose.cells.b.a.b.a.ze a(com.aspose.cells.b.a.b.zq var1) {
      float var2 = var1.f();
      float var3 = var1.g();
      float var4 = var1.h();
      float var5 = var1.i();
      float var6 = 0.0F;
      if (this.e.l.a.size() > 0) {
         var6 = var5 / 2.0F * (1.0F - com.aspose.cells.b.a.ze.a((Object)((zak)this.e.l.a.get(0)).a()) / 10800.0F);
      } else {
         var6 = var5 / 2.0F * 0.7708333F;
      }

      float var7 = var1.i() / 2.0F - var6;
      float var8 = var5 - 2.0F * var7;
      float var9 = var8 * var4 / var5;
      com.aspose.cells.b.a.b.a.ze var10 = new com.aspose.cells.b.a.b.a.ze();
      com.aspose.cells.b.a.b.zo[] var11 = new com.aspose.cells.b.a.b.zo[3];

      for(int var12 = 0; var12 < 32; ++var12) {
         var11[0] = new com.aspose.cells.b.a.b.zo((float)((int)((double)(var2 + var4 / 2.0F) + Math.cos(zbie.a((double)var12 * 11.25D)) * (double)var4 / 2.0D)), (float)((int)((double)(var3 + var5 / 2.0F) + -Math.sin(zbie.a((double)var12 * 11.25D)) * (double)var5 / 2.0D)));
         var11[2] = new com.aspose.cells.b.a.b.zo((float)((int)((double)(var2 + var4 / 2.0F) + Math.cos(zbie.a((double)(var12 + 1) * 11.25D)) * (double)var4 / 2.0D)), (float)((int)((double)(var3 + var5 / 2.0F) + -Math.sin(zbie.a((double)(var12 + 1) * 11.25D)) * (double)var5 / 2.0D)));
         var11[1] = new com.aspose.cells.b.a.b.zo((float)((int)((double)(var2 + var4 / 2.0F) + Math.cos(zbie.a(5.625D + (double)var12 * 11.25D)) * (double)var9 / 2.0D)), (float)((int)((double)(var3 + var5 / 2.0F) + -Math.sin(zbie.a(5.625D + (double)var12 * 11.25D)) * (double)var8 / 2.0D)));
         var10.a(var11[0], var11[1]);
         var10.a(var11[1], var11[2]);
      }

      return var10;
   }
}
